package cn.iocoder.yudao.module.alipay.controller.admin.cpsactivitytype.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import java.time.LocalDateTime;
import java.time.LocalDateTime;
import javax.validation.constraints.*;

/**
 * cps活动分类 Base VO，提供给添加、修改、详细的子 VO 使用
 * 如果子 VO 存在差异的字段，请不要添加到这里，影响 Swagger 文档生成
 */
@Data
public class CpsActivityTypeBaseVO {

    @Schema(description = "分类编号")
    private String actCode;

    @Schema(description = "分类名称")
    private String name;

    @Schema(description = "所属父类", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "所属父类不能为空")
    private Long parentId;

    @Schema(description = "备注", example = "你猜")
    private String remark;

    @Schema(description = "级别", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "级别不能为空")
    private String typeLevel;

    @Schema(description = "显示排序")
    private Integer sort;

}
